<?php /* Smarty version 2.6.18, created on 2010-08-28 14:08:46
         compiled from admin/alumni/general/list_location.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'utf8_escape_html', 'admin/alumni/general/list_location.tpl', 11, false),)), $this); ?>
<form name="frmListLocation" id="frmListLocation">
<table border="1" cellspacing="1px" cellpadding="10px "align="center" width="100%">
    <tr>
        <th width="15">#</th>
        <th>Location name</th>
    </tr>
    <?php $_from = $this->_tpl_vars['arrLocation']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameLocation'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameLocation']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyLocation'] => $this->_tpl_vars['itemLocation']):
        $this->_foreach['nameLocation']['iteration']++;
?>
    <tr>
        <td><?php echo $this->_tpl_vars['keyLocation']+1; ?>
</td>
        <td>
        	<input type="text" size="70" name="location_name_<?php echo $this->_tpl_vars['itemLocation']['id']; ?>
" id="location_name_<?php echo $this->_tpl_vars['itemLocation']['id']; ?>
" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['itemLocation']['location_name'])) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
" />
        	<input type="button" value=" Update " onclick="javascript:updateLocation(this, <?php echo $this->_tpl_vars['itemLocation']['id']; ?>
)" name="btnUpdate<?php echo $this->_tpl_vars['itemLocation']['id']; ?>
" id="btnUpdate<?php echo $this->_tpl_vars['itemLocation']['id']; ?>
" />
        </td>
    </tr>
    <?php endforeach; endif; unset($_from); ?>
</table>
</form>
<form name="frmAddLocation" id="frmAddLocation" onsubmit="return checkFrmAddLocation(this)">
<table border="0" cellpadding="2" cellspacing="1">
	<tr>
  	<td>
    	Location name: <input type="text" name="location_name" id="location_name" value="" size="50" />
      <input type="submit" name="btnAddLocation" id="btnAddLocation" value=" Add " />
    </td>
  </tr>
</table>
</form>